#include "abstractFilter.hpp"
#include "cv.h"
#include "highgui.h"

using namespace cv;

OpenFilter::OpenFilter(int iterations) : iterations(iterations) {}

void OpenFilter::filterInPlace( Mat& srcAndDst ) {
	morphologyEx( srcAndDst, srcAndDst, MORPH_OPEN, Mat(), Point(-1,-1), iterations);
}